package com.java.exception;

public class DuplicateException extends Exception {

    private final ExceptionStateEnum e;

    public DuplicateException(ExceptionStateEnum e) {
        this.e = e;
    }

    public ExceptionStateEnum getType () {
        return e;
    }
}
